#! /bin/bash

#########################
# Repo specific content #
#########################
OWNER="xiaods"
REPO="k8e"
############################
# Systemd specific content #
############################
# Host="10.11.130.1 10.11.130.3 10.11.130.5 10.11.130.6 10.11.130.7 10.11.130.11 10.11.130.12 10.11.27.58"

Host="10.11.130.1 10.11.130.2 10.11.130.3 10.11.130.4 10.11.130.5 10.11.130.6 10.11.130.7 10.11.130.11 10.11.130.12 10.11.27.58"
password="youling" #根据主机更改
BIN_DIR=/usr/local/bin
SYSTEM_NAME=k8e
k8e_bin=${BIN_DIR}/${SYSTEM_NAME}
SERVICE_K8E=${SYSTEM_NAME}.service

SUDO=sudo
if [ $(id -u) -eq 0 ]; then
    SUDO=
fi
# --- helper functions for logs ---
info() {
    echo '[INFO] ' "$@"
}
warn() {
    echo '[WARN] ' "$@" >&2
}
fatal() {
    echo '[ERROR] ' "$@" >&2
    exit 1
}
